﻿import http from '@/utils/http';

export default {
    // 配置信息
    config: (data: any) => http({ url: '/api/config', data, method: 'get', other: true, loading: false }),
    // test
    getcontractsignlist: (query: any) =>
        http({ url: '/api/contractsign/getcontractsignlist', query, loading: true, method: 'get' }),

    // 手机号登录
    loginByPhone: (data: any) => http({ url: '/api/login/phonebypassword', data, loading: false }),
    // 退出登录
    logout: (data?: any) => http({ url: '/api/login/logout/logout', data }),
};
